package com.teamwings.ctrls.service;

import com.teamwings.modules.oss.entity.OssFile;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;

public interface IUploadService {

    OssFile save(String formId, String ctrlId, MultipartFile file, String bizPath);

    OssFile saveToFileService(String formId, String ctrlId, String uploadList, MultipartFile file, String bizPath, String fileType);

    void downloadFile(String bizPath, HttpServletResponse response);

    void downloadFiles(String pathsArr, String filenamesArr, HttpServletResponse response);
}
